package com.masohost.cocoadroid;

import android.app.Activity;
import android.view.View.OnClickListener;
import android.widget.ImageView;

public class MenuHelper extends Activity {

	public static void SetMenuListeners(Activity activity){
			ImageView img;
			OnClickListener listener = (OnClickListener)activity;
			
			img = (ImageView)activity.findViewById(R.id.img1);
			img.setOnClickListener(listener);
	        
			img = (ImageView)activity.findViewById(R.id.img2);
			img.setOnClickListener(listener);
	        
			img = (ImageView)activity.findViewById(R.id.img3);
			img.setOnClickListener(listener);
	        
			img = (ImageView)activity.findViewById(R.id.img4);
			img.setOnClickListener(listener);
	        
	        img = (ImageView)activity.findViewById(R.id.img5);
			img.setOnClickListener(listener);
	       
	        img = (ImageView)activity.findViewById(R.id.img6);
			img.setOnClickListener(listener);
		
	}
}
